<template>
  <div>
    <slot name="text1"></slot>
    <slot name="text2"></slot>
    <slot :games="games"></slot>
  </div>
</template>

<script>
export default {
  name: "NameSlotDemo"
  ,data(){
    return {
      games:[1,2,3,4,5],
      music:[2,3,45,5]
    }
  }
}
</script>

<style scoped>

</style>